package com.platform.dao.mybatis.mapper;

import com.platform.domain.model.GroupUser;
import com.platform.domain.model.GroupUserKey;

import java.util.List;

/**
* GroupUser
*
* User: wangyang
* DateTime: 2012-10-08 15:47:09
*
*/
public interface GroupUserMapper {

    // 根据主键查询对象
    GroupUser selectByPrimaryKey(GroupUserKey key);

    // 根据条件查询对象
    List<GroupUser> select(GroupUser groupUser);

    // 根据主键删除对象
    int deleteByPrimaryKey(GroupUserKey key);

    // 根据条件删除对象
    int delete(GroupUser groupUser);

    // 插入对象
    int insert(GroupUser groupUser);

    // 更新对象
    int update(GroupUser groupUser);

}
